#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MemDC.h : header file

class CMemDC : public CDC
{
// Operations
public:
	CMemDC();
	virtual ~CMemDC();

	CBitmap m_bmpBuffer;
	CBitmap *m_pOldBitmap;
	

protected:
	bool	m_bInit;
	UINT	m_unIndex;

// Overrides
public:
	bool	Init(CDC *pDC, int wd, int ht, UINT Index = 0);
	void	DeInit();
	UINT	GetIDofChildWindow(){ return m_unIndex; }
};
